var mongoose = require("mongoose");

var jjSchema = new mongoose.Schema({
  name: { type: String },//属性name,类型为String
  size: { type: Number },
  code: { type: String },
  list: { type: Object }
});

// var jjModel = mongoose.model('jjitem', jjSchema);
var jjModel = mongoose.model('jjitem3', jjSchema);
var oldjjModel = mongoose.model('jjitems', jjSchema);

module.exports = {jjModel, oldjjModel}